package com.example.twotwo_project;


import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.Button;
import android.annotation.SuppressLint;
import android.app.ActivityGroup;
import android.app.LocalActivityManager;


@SuppressLint("ValidFragment")
public class Frag02Activity extends Fragment { // 기존 Fragment 를 FragmentActivity로 변경
	Context mContext;

	public Frag02Activity(Context context) {
		mContext = context;
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.activity_frag02, null);

		/*ActivityGroup activityGroup = new ActivityGroup();
		LocalActivityManager localActivityManager = activityGroup.getLocalActivityManager();
		Intent intent = new Intent(mContext, MapView.class);
		Window window = localActivityManager.startActivity("hosted", intent);
		View view = window.getDecorView();*/


		return view;
	}

}

